Skip to content

rbac tests: a lane binding addresses one version (correct the R7 framing from #2024) - #2025

Merged
AdaWorldAPI merged 1 commit into
mainfrom
ccr-ca0562e7-hudvlz-r7-correct
Nov 11, 2026
Merged

AdaWorldAPI merged 1 commit into
mainfrom
ccr-ca0562e7-hudvlz-r7-correct

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

#2024 described one test as a gap and as an open decision ("a source revision move also refuses the address binding … stricter than EXO-255"). That statement was false.

A lane binding addresses one version of the frame. Versions are not compacted, so the bound version stays what the binding names. A source advance creates a new version: LaneBinding::check refuses the old binding instead of silently following, and binding again against the new seal reads the new version. Nothing needs deciding.

Change

crates/lance-graph-rbac/tests/scoped_lane_binding.rs only:

  • Renamed finding_a_source_revision_move_refuses_the_address_binding_too to a_binding_addresses_one_version_and_a_source_advance_is_read_by_binding_again.
  • Rewrote its comment to describe this behaviour.
  • The test now also asserts the second half: after the advance, binding against the new seal succeeds and check returns Ok. A first attempt rebound with the old seal and was refused, which is the expected behaviour; the bound version is named by its seal.

The description of #2024 is corrected in place, with a note that it was edited.

Evidence

  • cargo test -p lance-graph-rbac --test scoped_lane_binding: 18 passed.
  • clippy -D warnings and fmt are clean.

Generated by Claude Code

The test called a source advance refusing an old binding a gap. It is the
intended per-version behaviour: versions are not compacted, the old binding
still names its version, and binding again against the new seal reads the
new version. Renamed, comment rewritten, and the rebind is now asserted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XAqKMPJjVvasjwqhjJ6c9p
@coderabbitai

coderabbitai Bot commented Nov 11, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8acfb4c4-0499-450d-86bc-3e7380bc4c0f
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T21:19:55.904811Z c8626ab PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@AdaWorldAPI
AdaWorldAPI merged commit 9351f70 into main Nov 11, 2026
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants